package io.edap.protobuf.test;

import io.edap.protobuf.annotation.ProtoField;
import io.edap.protobuf.wire.Field.Type;
import java.io.Serializable;

/**
 * 登录响应
 */
public class LoginResponse implements Serializable {

    @ProtoField(tag = 1, type = Type.INT32)
    private int code;
    @ProtoField(tag = 2, type = Type.STRING)
    private String result;


    public int getCode() {
        return code;
    }

    public LoginResponse setCode(int code) {
        this.code = code;
        return this;
    }

    public String getResult() {
        return result;
    }

    public LoginResponse setResult(String result) {
        this.result = result;
        return this;
    }

}